package com.uzai.console.dto.wxpubmanage;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author cen
 * @Date 2021/12/7 0007 14:58
 */

@ApiModel("上传链接地址")
public class UploadUrlMaterialDto extends BaseDto implements Serializable {

    private static final long serialVersionUID = -4590269667640766096L;

    @ApiModelProperty("云地址 ")
    private String url;

   @ApiModelProperty("文件名称 ")
    private String name;

    @ApiModelProperty("公众号配置ID不能为空")
    @NotNull(message = "公众号配置ID不能为空")
    private Long wxpubId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getWxpubId() {
        return wxpubId;
    }

    public void setWxpubId(Long wxpubId) {
        this.wxpubId = wxpubId;
    }
}
